import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/knowledge_base_info_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/knowledge_base_info_entity.g.dart';

@JsonSerializable()
class KnowledgeBaseInfoEntity {
	int? id;
	int? typeId;
	String? fileName;
	String? type;
	String? writingDay;
	String? createTime;
	String? fileCode;
	String? fileType;
	String? fileUrl;
	int? fileNumber;
	int? deptId;
	String? deptName;
	String? fileContent;
	String? personIntro;
	String? creator;
	String? attributeName;
	String? attributeCode;

	KnowledgeBaseInfoEntity();

	factory KnowledgeBaseInfoEntity.fromJson(Map<String, dynamic> json) => $KnowledgeBaseInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $KnowledgeBaseInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}